-- GENERATED SPELL FOR [Nedar, Lord of Rhinos] --


function spell0_25801(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(41440,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25801', 624, 1)
end

function Sorts_25801(pUnit, Event)
local choix_sorts_25801 = math.random(0, 0)
if choix_sorts_25801 == 0 then
pUnit:RegisterEvent('spell0_25801', 1, 1)
end
end

function mob25801_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25801', math.random(1500, 3000), 1)
end

function mob25801_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25801_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25801_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25801, 1, 'mob25801_Action')
RegisterUnitEvent(25801, 2, 'mob25801_Leave')
RegisterUnitEvent(25801, 3, 'mob25801_Kill')
RegisterUnitEvent(25801, 4, 'mob25801_Die')
